//=============================================================================
//                                                                            
//   Exercise code for the lecture
//                                                                            
//=============================================================================

#include "ProceduralViewer.h"
#include <cstdio>



int main(int argc, char **argv)
{
	if(argc != 2) {
		printf("Usage: %s <object.obj>\n", argv[0]);
		return 1;
	}

	glutInit(&argc, argv);
	
	ProceduralViewer window("Procedural Viewer", 700, 700);
	
	window.loadMesh(argv[1]);
	
	glutMainLoop();
}
